package com.study.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.study.handler.MyDateConverter;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.JdbcType;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * 设备操作记录表
 * @author csc
 */
@Data
@TableName(value = "equipment_operation_record")
public class EquipmentOperationRecord implements Serializable  {



	@ExcelProperty("automaticId")
	@TableField("automatic_id")
	private Long automaticId;

	@ExcelProperty("设备编号")
	@TableField("equipment_no")
	private String equipmentNo;


	@ExcelProperty("sendOn")
	@TableField("send_on")
	private Date sendOn;

	@ExcelProperty(value = "accept_on")
	@TableField(value = "accept_on", jdbcType = JdbcType.DATE)
	private Date acceptOn;

	@ExcelProperty("channel")
	@TableField("channel")
	private Short channel;

	@ExcelProperty("command")
	@TableField("command")
	private Short command;

	@ExcelProperty("dataHexDump")
	@TableField("data_hex_dump")
	private String dataHexDump;


	
}